<!DOCTYPE html>
<html lang="en">
<head>

<meta charset="utf-8">
<meta name="description" content="Miminium Admin Template v.1">
<meta name="author" content="Isna Nur Azis">
<meta name="keyword" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>油乐宝分销系统</title>

<!-- start: Css -->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/bootstrap.min.css">

<!-- plugins -->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/simple-line-icons.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/mediaelementplayer.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/animate.min.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/icheck/skins/flat/red.css"/>
<link href="__PUBLIC__/asset//css/style.css" rel="stylesheet">
<!-- end: Css -->

<link rel="shortcut icon" href="__PUBLIC__/asset/img/logomi.png">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>


<body id="mimin" class="dashboard">
      <!-- start: Header -->
      {include file="public/head" /}
      <!-- end: Header -->

      <div class="container-fluid mimin-wrapper">
  
          <!-- start:Left Menu -->
          {include file="public/left" /}
          <!-- end: Left Menu -->


          <!-- start: Content -->
          <div id="content">
                <div class="panel box-shadow-none content-header">
                  <div class="panel-body">
                    <div class="col-md-12">
                        <h3 class="animated fadeInLeft">账单 设置</h3>
                        <p class="animated fadeInDown">
                          首页 <span class="fa-angle-right fa"></span>提现 申请
                        </p>
                    </div>
                  </div>
                </div>
                <div class="form-element">
                <div class="col-md-12 padding-0">
                
                <div class="col-md-10">
                  <div class="col-md-12 panel">
                    <div class="col-md-12 panel-heading">
                      <h4>提现申请</h4>
                    </div>
                    <div class="col-md-12 panel-body" style="padding-bottom:30px;">
                      <div class="responsive-table">                      
                    <table class="table table-striped table-bordered" width="100%" cellspacing="0">
                    <thead>
                     <tr>
                        <th>id</th>                      
                        <th>用户名</th>
                        <th>银行账号</th>
                        <th>开户行</th>
                        <th>开户行地址</th>
                        <th>提现理由</th>                        
                        <th>提现描述</th>
                        <th>提现方式</th> 
                        <th>提现金额</th>                                   
                        <th>更新时间</th>  
                        <th>审批</th>                      
                      </tr>
                    </thead>
                    <tbody> 
                    {foreach $data as $value}                     
                      <tr>             
                        <td>{$value.id}</td>
                        <td>{$username}</td>
                        <td>{$value.bank_num}</td>
                        <td>{$value.bank_name}</td>
                        <td>{$value.bank_address}</td>
                        <td>{$value.reason}</td>
                        <td>{$value.description}</td>
                        <td>{$value.type}</td> 
                        <td>{$value.money}</td>      
                        <td>{$value.update_time}</td>  
                        {if $value.status == 1}  
                        <td>
                            <input class="submit btn btn-danger" type="button" value="已同意" >
                        </td>    
                        {/if}
                        {if $value.status == 2}  
                        <td>
                            <input class="submit btn btn-danger"  type="button" value="已拒绝" >
                        </td>    
                        {/if}
                        {if $value.status == 0}  
                        <td>
                            <input class="submit btn btn-danger" type="button" value="同意" name="agree"> 
                            <input class="submit btn btn-danger"  type="button" value="拒绝" name="refuse"> 
                        </td>    
                        {/if}
                      </tr>

                      {/foreach}
                    </tbody>
                    
                  </table>
                  </div>                      
                  </div>
                  <div class="col-md-6" style="padding-top:20px;">
                    <span>展示 {$total}个结果中的 {$count} 个</span>
                  </div>
                  <div class="col-md-6">
                        {$page}
                  </div>
                </div>
              </div>
              </div>
              </div>
            </div>
          <!-- end: content -->

          
      </div>

      <!-- start: Mobile -->
      {include file="public/mobile" /}
       <!-- end: Mobile -->

<!-- start: Javascript -->
<script src="__PUBLIC__/asset/js/jquery.min.js"></script>
<script src="__PUBLIC__/asset/js/jquery.ui.min.js"></script>
<script src="__PUBLIC__/asset/js/bootstrap.min.js"></script>
<script src="/js/admin.js"></script>

<!-- plugins -->
<script src="__PUBLIC__/asset/js/plugins/moment.min.js"></script>
<script src="__PUBLIC__/asset/js/plugins/icheck.min.js"></script>
<script src="__PUBLIC__/asset/js/plugins/jquery.nicescroll.js"></script>


<!-- custom -->
<script src="__PUBLIC__/asset/js/main.js"></script>
<script type="text/javascript">
$(document).ready(function(){
     $('input').iCheck({
        checkboxClass: 'icheckbox_flat-red',
        radioClass: 'iradio_flat-red'
      });
});
</script>
<!-- end: Javascript -->
</body>
</html>